![]() |
StdText |
||||
Header: | QuickdrawText.h | Carbon status: | Supported | |
QuickDraw’s standard low-level function for drawing text.
void StdText ( SInt16 count, const void *textAddr, Point numer, Point denom );
The number of bytes of text to draw.
A memory structure containing the text to draw.
Scaling numerator.
Scaling denominator.
The StdText function draws text from the arbitrary structure in memory specified by the textBuf parameter, starting from the first byte and continuing for the number of bytes specified in the byteCount parameter. The numer and denom parameters specify the scaling factor: numer.v over denom.v gives the vertical scaling, and numer.h over denom.h gives the horizontal scaling factor.
You should only call this low-level function from your customized QuickDraw functions.
The StdText function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)